home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVWWRITC.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  32 lines

  1. /*================================================*/
  2. /* TVWWRITC.C                                     */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use as  */
  7. /* long as this copyright notice is kept intact   */
  8. /* and any changes are indicated in the comment   */
  9. /* blocks for the functions                       */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVwin_writeca  write both chars and attributes */
  16. /*   Ralf Brown 4/24/88                           */
  17. /*================================================*/
  18.  
  19. void pascal TVwin_writeca(OBJECT win,char *chars,char *attr,int len)
  20. {
  21.    PARMLIST4 p ;
  22.  
  23.    p.num_args = 4 ;
  24.    p.arg[0] = (DWORD)(char far *)attr ;
  25.    p.arg[1] = (DWORD) len ;
  26.    p.arg[2] = (DWORD)(char far *)chars ;
  27.    p.arg[3] = (DWORD) len ;
  28.    TVsendmsg(ADDTO_MSG, win?TOS:ME, win, (PARMLIST *)&p) ;
  29. }
  30.  
  31. /* End of TVWWRITC */
  32.